<?php
include_once ($_SERVER['DOCUMENT_ROOT'].'/global.php');
$array = array();
$sql="SELECT a.id,b.XingMing,b.XueHao,b.IdNumber,b.BankName,b.BankIdNumber from Worker a,user b where a.person_id = b.id and a.BuMenId = {$_GET['BuMenId']} and a.IsDelete = 0";
$query = $mysqli->query($sql);
while($a = $query->fetch_assoc()) {
  $array[] = $a;
}
echo json_encode($array);
exit;
?>
